FROM openjdk:8-jdk-alpine
VOLUME /tmp
COPY ./target/spring-boot-docker-test.jar spring-boot-docker-test.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/spring-boot-docker-test.jar","--spring.profiles.active=dev","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/www/jvmdump","&"]
